package com.sharp.authorization.dao.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

/**
 * Title: SaSmsTemplate
 * Description: Copyright: Copyright (c) 2019 Company: BHFAE
 *
 * @author Sharp
 * @date 2022/6/16 18:01
 */

/**
 * 短信模板表
 */
@ApiModel(value = "com-sharp-authorization-dao-common-entity-SaSmsTemplate")
@Data
@Table(name = "sa_sms_template")
public class SaSmsTemplate {
    /**
     * id
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 发送短信类型
     */
    @Column(name = "send_sms_type")
    @ApiModelProperty(value = "发送短信类型")
    private String sendSmsType;

    /**
     * 云平台短信模板
     */
    @Column(name = "template_id")
    @ApiModelProperty(value = "云平台短信模板")
    private String templateId;

    /**
     * 短信模板参数个数
     */
    @Column(name = "paramer_number")
    @ApiModelProperty(value = "短信模板参数个数")
    private Integer paramerNumber;

    /**
     * 短信模板内容
     */
    @Column(name = "body")
    @ApiModelProperty(value = "短信模板内容")
    private String body;

    /**
     * 作者
     */
    @Column(name = "author")
    @ApiModelProperty(value = "作者")
    private String author;

    /**
     * 审批时间
     */
    @Column(name = "comfirm_at")
    @ApiModelProperty(value = "审批时间")
    private Date comfirmAt;

    /**
     * 0 拒绝 1 同意
     */
    @Column(name = "comfirm_status")
    @ApiModelProperty(value = "0 拒绝 1 同意")
    private String comfirmStatus;
}